package com.example.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 15489  <br/>
 * Date: 2022/3/24:9:54  <br/>
 * Description:
 */
@RestController
@RequestMapping("/nginx")
public class NginxController {
    @Value("${server.port}")
    private  String  port;

    @GetMapping("/port")
    public String port(){
        return port;
    }
}
